import React from 'react';
import { Icon } from './base';

/**
 * &#xe77b; 分享有礼
 *
 * @export
 * @class IconShareGift
 * @extends {Icon}
 */
export default class IconShareGift extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#515151',
    };

    render() {
        const { color, className, style } = this.props;
        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    d="M797.93749983 216.68749998h-149.99999963L734.65624981 139.34374973c11.71874982-9.37500018 11.71874982-28.12499973 2.34375042-39.84374954-4.68750009-4.68750009-11.71874982-9.37500018-21.09374997-9.37500018-7.03124973 0-14.06250025 2.34374964-18.75000036 7.03124972l-140.62500027 126.56250001c-9.37500018 9.37500018-9.37500018 28.12499973 0 39.84375035 4.68750009 4.68750009 11.71874982 9.37500018 21.09374996 9.37500019h222.65625067c18.75000039 0 35.15625025 16.40624992 35.15624947 35.15624944v536.71875019c0 18.75000039-16.40624992 35.15625025-35.15624945 35.1562503H216.68749998c-18.75000039 0-35.15625025-16.40624992-35.15625025-35.1562503V308.09374974c0-18.75000039 16.40624992-35.15625025 35.15625028-35.15624946h232.03125v-2.34375047l2.34374962-2.34374963v-2.34375045-2.34374964-2.34375044-23.43749964-2.34374964-2.34375044V230.75000026l2.34375046-7.03125052L315.12500027 97.15624973C310.43750021 92.46874962 303.40624963 90.12500001 296.37499991 90.12500001c-7.03124973 0-14.06250025 4.68750009-18.74999953 9.37500017-4.68750009 7.03124973-9.37500018 14.06250025-7.03125057 21.09374996 0 7.03124973 4.68750009 14.06250025 9.37500021 18.74999959l86.71874963 77.34375025H216.68749998C165.12499982 216.68749998 125.28125027 256.53125037 125.28125027 308.09374974v536.71875017C125.28125027 894.03124961 165.12499982 933.87499999 216.68749998 933.87499999h583.5937503c49.21874972 0 91.40624972-39.84375039 91.40624972-91.40624972V308.09374974c-2.34374964-51.56250019-42.18749999-91.40624972-93.75000019-91.40624973z"
                    fill={color}
                />
                <path
                    d="M465.12499991 765.125V397.15624981c0-11.71874982-7.03124973-21.09374999-16.40624993-25.78125008-4.68750009-2.34374964-7.03124973-2.34374964-9.37500017-2.34374964-7.03124973 0-14.06250025 2.34374964-18.74999955 7.03124974l-98.43750027 100.78124992c-11.71874982 11.71874982-9.37500018 28.12499973 0 39.84375034 4.68750009 4.68750009 11.71874982 7.03124973 18.75000037 7.03124973 7.03124973 0 14.06250025-2.34374964 18.74999954-7.03124973l51.56250019-51.56250018v300.00000009c0 7.03124973 2.34374964 14.06250025 7.03124972 18.75000037 4.68750009 4.68750009 11.71874982 7.03124973 18.75000037 7.03124973 14.06250025 2.34374964 28.12499973-11.71874982 28.12499973-25.7812501z m227.3437499-82.03125041c4.68750009-4.68750009 7.03124973-11.71874982 7.03125056-18.74999951 0-7.03124973-2.34374964-14.06250025-7.03125056-18.75000035-4.68750009-4.68750009-11.71874982-7.03124973-18.74999954-7.03124973-7.03124973 0-14.06250025 2.34374964-18.75000036 7.03124973l-51.56250019 51.56250017V397.15624981c0-14.06250025-11.71874982-28.12499973-28.12499973-28.12499972s-28.12499973 11.71874982-28.12499974 28.1249998v367.96875011c0 11.71874982 7.03124973 21.09374999 16.40624994 25.7812501 4.68750009 2.34374964 7.03124973 2.34374964 9.37500018 2.34374961 7.03124973 0 14.06250025-2.34374964 18.74999954-7.03124972l100.7812499-103.1250004z"
                    fill={color}
                />
            </svg>
        );
    }
}
